package com.dlsy.ygj.entity;

import java.util.List;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */


public class Department implements java.io.Serializable {

	// Fields

	private Integer departmentId;
	private String departmentNo;
	private String departmentName;
	private Integer principalId;
	private String phone;
	private String workProjects;
	private String remark;
	private Integer storefrontId;
	private List<MainItemInfo> mainItemInfos;

	// Constructors

	

	/** default constructor */
	public Department() {
	}

	/** full constructor */
	public Department(String departmentNo,String departmentName, Integer principalId, String phone,
			String workProjects, String remark, Integer storefrontId,List<MainItemInfo> mainItemInfos) {
		this.departmentNo = departmentNo;
		this.departmentName=departmentName;
		this.principalId = principalId;
		this.phone = phone;
		this.workProjects = workProjects;
		this.remark = remark;
		this.storefrontId = storefrontId;
		this.mainItemInfos=mainItemInfos;
	}

	// Property accessors

	public Integer getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentNo() {
		return this.departmentNo;
	}

	public void setDepartmentNo(String departmentNo) {
		this.departmentNo = departmentNo;
	}
	
	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public Integer getPrincipalId() {
		return this.principalId;
	}

	public void setPrincipalId(Integer principalId) {
		this.principalId = principalId;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getWorkProjects() {
		return this.workProjects;
	}

	public void setWorkProjects(String workProjects) {
		this.workProjects = workProjects;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStorefrontId() {
		return this.storefrontId;
	}

	public void setStorefrontId(Integer storefrontId) {
		this.storefrontId = storefrontId;
	}
	public List<MainItemInfo> getMainItemInfos() {
		return mainItemInfos;
	}

	public void setMainItemInfos(List<MainItemInfo> mainItemInfos) {
		this.mainItemInfos = mainItemInfos;
	}

}